<template>
  <div >
      <iframe id="newwaybill"  :src="newwaybillUrl"   style="width: 100%;height:1000px;border: 0px;margin:0;"></iframe>
  </div>
</template>

<script>
import { mapGetters } from "vuex";
import setting from '../../../../config/setting';

export default {
  name: 'ExamSplShippingInfo',
  components: {
  },
  computed: {
    ...mapGetters(["permission"]),
  },
  data() {
    return {
      newwaybillUrl:'',
    }
  },
  created(){
    let token = setting.takeToken().replace('Bearer ', '');
    this.newwaybillUrl = 'https://localhost:8083/home/label/newwaybill?token='+token;
  },
  methods: {
  }
}
</script>

<style scoped>
</style>
